﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;

namespace TodoApp.TMS_maintain.TMS_Maintenancerecord
{
    public interface ITMS_Maintenancerecords
    {
        public  Task<PageResponse<TMS_MaintenancerecordDto>> GetMai(string MaiPeop, string MaiNumber, int pageindex = 1, int pagesize = 5);

        public  Task<int> MaiAdds(TMS_MaintenancerecordDto info);

        public Task<int> DeletMai(string Id);

        public  Task<int> UpdateMaiup(TMS_MaintenancerecordDto tMS_Induction);
    }
}
